package com.mes.service.hy;

import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.mes.dao.hy.PeopleManageMapper;
import com.mes.entity.hy.PeopleManage;

/**
 * 
 * @ClassName:PeopleManageServiceImpl
 * @Description: 人员管理service实现层
 * @Author hy
 * @Date 2018-5-30上午11:01:05
 * @version 1.0
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class PeopleManageServiceImpl implements IPeopleManageService {
	
	@Resource
	private PeopleManageMapper peopleManageMapper;

	@Override
	public List<PeopleManage> select(PeopleManage peopleManage) {
		return peopleManageMapper.select(peopleManage);
	}

	@Override
	public int selectCount(PeopleManage peopleManage) {
		return peopleManageMapper.selectCount(peopleManage);
	}

}
